﻿using B.S.BasicData.ErrorCode;
using B.S.BasicData.Write.Api.Dto;
using MediatR;
using System.ComponentModel.DataAnnotations;
namespace B.S.BasicData.Write.Api.Application.Command.Xu
{  

    /// <summary>
    /// 查询箱子
    /// </summary>
    public class BoxQueryCommand:IRequest<ApiPaging<BoxListDto>>
    {
        /// <summary>
        /// 箱子名称
        /// </summary>
        public string? BoxName { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 3;

    }
}
